<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑活码</title>
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/createcode.css">
    <link rel="stylesheet" href="css/swiper/style.css">
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="css/weui.css"/>
    <link rel="stylesheet" href="css/editcode.css">
</head>
<body>

<div class="js_dialog" id="iosDialog1" style="display: none;">
    <div class="weui-mask"></div>
    <div class="weui-dialog">
        <div class="weui-dialog__hd"><strong class="weui-dialog__title">警告</strong></div>
        <div class="weui-dialog__bd">确定要删除该二维码吗？</div>
        <div class="weui-dialog__ft">
            <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_default">确定</a>
            <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary">取消</a>
        </div>
    </div>
</div>
<!--END dialog1-->
<div id="loadingToast" style="display:none;">
    <div class="weui-mask_transparent"></div>
    <div class="weui-toast">
        <i class="weui-loading weui-icon_toast"></i>
        <p class="weui-toast__content">数据加载中</p>
    </div>
</div>
<div id="toast" style="display: none;">
    <div class="weui-mask_transparent"></div>
    <div class="weui-toast">
        <i class="weui-icon-success-no-circle weui-icon_toast"></i>
        <p class="weui-toast__content success">已完成</p>
    </div>
</div>
<div id="failtoast" style="display: none">
    <div class="weui-mask_transparent"></div>
    <div class="weui-toast">
        <i class="weui-icon-warn weui-icon_toast" style="font-size: 43px;color: #FFFFFF"></i>
        <p class="weui-toast__content failed">操作失败</p>
    </div>
</div>
<header class="clearfix">
    <i class="icon-back"></i>
    <span>编辑活码</span>
</header>
<div class="edit-main">
    <div id="qrcodeimg">
    <!--<img src="images/code.jpg">-->
    </div>
    <div class="edit-input">
        <p>
            <span>名称</span>
            <span>
            <input id="name" name="hmName" type="text" placeholder="名称">
            </span>
        </p>
        <p>
            <span>阀值</span>
            <span>
            <input id="threshold" name="threshold" type="text" placeholder="阀值">
                </span>
        </p>
    </div>
    <form id="idform" action="/hmcode/hmInfoUpload" method="POST" enctype="multipart/form-data">
    <div class="add-code">

            <p>上传二维码</p>
            <img class="pic" src="images/icon-add.png">
            <input class="uploadfile" name="inputFile" accept="image/jpg,image/jpeg,image/png" type="file" style="display: none"/>

            <p class="save-button">
                <span class="weui-btn_default savebtn">保存修改信息</span>
                <input class="submit" type="submit" style="display: none">
            </p>
            <input id="usercode" name="hmInfo" type="text" style="display: none">
            <input class="idsubmit" type="submit" style="display: none">

    </div>
    </form>
    <div class="code-count">
        <!--<div>-->
            <!--<div class="dis-cell">-->
                <!--<img src="images/code.jpg">-->
            <!--</div>-->
            <!--<div class="dis-cell">-->
                <!--37次-->
            <!--</div>-->
            <!--<div class="dis-cell ">-->
                <!--<p class="choose clearfix">-->
                    <!--<span class="jian">-</span>-->
                    <!--<input class="textval" type="text" value="10">-->
                    <!--<span class="add">+</span>-->
                <!--</p>-->
            <!--</div>-->
            <!--<div class="dis-cell">-->
                <!--<span>确定</span>-->
            <!--</div>-->
            <!--<div class="dis-cell">-->
                <!--<i class="icon-delete"></i>-->
            <!--</div>-->
        <!--</div>-->
        <!--<div>-->
            <!--<div class="dis-cell">-->
                <!--<img src="images/code.jpg">-->
            <!--</div>-->
            <!--<div class="dis-cell">-->
                <!--37次-->
            <!--</div>-->
            <!--<div class="dis-cell ">-->
                <!--<p class="choose clearfix">-->
                    <!--<span class="jian">-</span>-->
                    <!--<input class="textval" type="text" value="10">-->
                    <!--<span class="add">+</span>-->
                <!--</p>-->
            <!--</div>-->
            <!--<div class="dis-cell">-->
                <!--<span>确定</span>-->
            <!--</div>-->
            <!--<div class="dis-cell">-->
                <!--<i class="icon-delete"></i>-->
            <!--</div>-->
        <!--</div>-->
    </div>
</div>
<script src="js/jquery-1.10.1.min.js"></script>
<script src="js/public/jquery.form.js"></script>
<script type="text/javascript" src="js/public/toggle.js"></script>
<script type="text/javascript" src="js/public/qrcode.js"></script>
<script type="text/javascript" src="config.js"></script>
<script src="js/common/createcode.js"></script>
<script src="js/common/editcode.js"></script>
<script src="js/public/zepto.min.js"></script>
</body>
</html>